package org.dialMsg.Mapper;

import org.apache.ibatis.annotations.*;

import java.util.Date;

/**
 * @author DPF
 */
@Mapper
public interface SeatDataSourceBatchMapper {
    @Insert("INSERT INTO t_seat_data_source_batch (" +
            "id,show_name, task_id, company_user_id, upload_user_id, business_id, " +
            "data_batch_type, data_source_type, expect_count, actual_count, dupl_remove_count, " +
            "remark, status, time_create, time_modified" +
            ") VALUES (" +
            "#{id},#{showName}, #{taskId}, #{companyUserId}, #{uploadUserId}, #{businessId}, " +
            "#{dataBatchType}, #{dataSourceType}, #{expectCount}, #{actualCount}, #{duplRemoveCount}, " +
            "#{remark}, #{status}, #{timeCreate}, #{timeModified}" + ")")
    void insertSeatBatchSize(
            @Param("id") Integer id,
            @Param("showName") String showName,
            @Param("taskId") String taskId,
            @Param("companyUserId") Integer companyUserId,
            @Param("uploadUserId") Integer uploadUserId,
            @Param("businessId") Integer businessId,
            @Param("dataBatchType") Integer dataBatchType,
            @Param("dataSourceType") Integer dataSourceType,
            @Param("expectCount") Integer expectCount,
            @Param("actualCount") Integer actualCount,
            @Param("duplRemoveCount") Integer duplRemoveCount,
            @Param("remark") String remark,
            @Param("status") Integer status,
            @Param("timeCreate") Date timeCreate,
            @Param("timeModified") Date timeModified
    );
}